package com.house.test;

import java.util.List;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.house.biz.HouseBiz;
import com.house.biz.impl.HouseBizImpl;
import com.house.entity.House;

public class test {
	@Autowired 
	HouseBizImpl houseBiz;
	
	@Test
	public void getAllHouse(){
		List<House> houses=houseBiz.getAllHouses();
		for (House house : houses) {
			System.out.println(house.getTopic());
		}
	}
	
}
